Skip to content

[Leo] 9th Week solutions #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2024
Merged

[Leo] 9th Week solutions #155

merged 2 commits into from
Jun 30, 2024

Conversation

leokim0922
Copy link
Contributor

No description provided.

@leokim0922 leokim0922 marked this pull request as draft June 28, 2024 08:37
Comment on lines +27 to +29
def search(self, word: str) -> bool:
if len(word) > self.maxL:
return False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maxL이라는 변수를 둬서 단어 길이가 맞지 않으면 바로 거짓을 반환하는군요! 확실히 시간 절약에 도움이 될 것 같네요

@leokim0922 leokim0922 marked this pull request as ready for review June 29, 2024 10:17
Copy link
Member

@WhiteHyun WhiteHyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 :)

@leokim0922 leokim0922 merged commit decb469 into DaleStudy:main Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants